home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Backups / QBack Patch / Patch_Script < prev    next >
Text File  |  1996-09-26  |  2KB  |  53 lines

  1. Echo "Quarterback 5.0.1 to 5.0.2 patch script"
  2. Echo "by Mark Thomas"
  3. Echo "*NCopyright 1992 Central Coast Software"
  4. Echo "The new file created by this patch"
  5. Echo "is covered by the same licensing agreement"
  6. Echo "as the old program from which the patched"
  7. Echo "program is being made."
  8. Echo "*N Checking for Quarterback program..."
  9. If NOT EXISTS Quarterback
  10.    Echo " The Quarterback program does not appear"
  11.    Echo " to be in this directory.  Please read"
  12.    Echo " the file QB_Patch_Readme for further"
  13.    Echo " instructions."
  14.    Skip cleanup
  15. Else
  16.    Echo " Found Quarterback."
  17. Endif
  18. Echo " Checking Quarterback version..." NOLINE
  19. List >T:qb.ver Quarterback
  20. Search >NIL: T:qb.ver 197232
  21. If WARN
  22.    Search >NIL: T:qb.ver 193304
  23.    If WARN
  24.       Search >NIL: T:qb.ver 203436
  25.       If WARN
  26.          Echo "*N This Quarterback may not be version 5.0."
  27.          Echo " This may be a result of using a file packer program."
  28.          Echo "*NContact Central Coast Software"
  29.          Echo "for further assistance."
  30.          Echo "(512)328-6650"
  31.       Else
  32.          Echo "5.0.2*N This Quarterback file is already version 5.0.2."
  33.       Endif
  34.    Else
  35.       Echo "5.0*N You have the incorrect version of Quarterback for"
  36.       Echo " this patch to work.  Before using this patch, you must"
  37.       Echo " use the Quarterback 5.0 to 5.0.1 patch."
  38.    Endif
  39. Else
  40.    Echo "5.0.1*N Renaming the old Quarterback..."
  41.    Rename >NIL: Quarterback Quarterback.old
  42.    Echo " Patching Quarterback 5.0.1..."
  43.    Lpatch >NIL: -oQuarterback -pQB501-502.pch Quarterback.old
  44.    Echo " Removing old version of Quarterback file..."
  45.    Delete >NIL: Quarterback.old
  46. EndIf
  47.  
  48. LAB cleanup
  49. Echo "*N Cleaning up..."
  50. Delete >NIL: T:qb.ver
  51. Echo " Finished."
  52. Wait 10
  53. Endcli